package org.javaboy.meeting.service;

import org.javaboy.meeting.mapper.MyMeetingMapper;
import org.javaboy.meeting.model.Meeting;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MyMeetingService {

    @Autowired
    MyMeetingMapper myMeetingMapper;

    public Meeting findMyBookingDetailsByMeetingId(Integer meetingid) {
        return myMeetingMapper.findMyBookingDetailsByMeetingId(meetingid);
    }

    public void sureCancelMeeting(Meeting meeting) {
         myMeetingMapper.sureCancelMeeting(meeting);
    }
}
